#ifndef MUSICFILE_H_
#define MUSICFILE_H_

// By: Jesse Guarascia de Urena
// Music class (lol)
// Deals with Mix_Music files

#include <SDL_mixer.h>
#include <string>
#include "Asset.h"
#include "DebugSys.h"

class MusicFile : public Asset
{
private:
	Mix_Music* music; // Music file

	void DeleteMusic(); // Delete the music file
	
public:
	MusicFile(void);
	~MusicFile(void);

	void Load(std::string file); // Load the music file

	// Different audio player functions
	void Play(int loops = -1);

	static void Stop();
	static void FadeOut();

	// Debug the music file
	std::string Debug();
};

#endif // MUSICFILE_H_

